ISearchJob Interface
Performs the search and returns 0 if the search is successful or -1 if an error occured.